<?php
require_once ("../dao/BankLoanDAO.php");

$action = $_POST['act'];
if($action == "del") {
	$result = false;
	if(isset($_POST['idre'])) {
		$idbankloan = $_POST['idre'];
		if(deleteBankLoan($idbankloan)) {
			$result = true;
		}
	}
	echo json_encode($result);
}
?>